package com.example.hospitalsystem.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *科室表
 */
@Data
@TableName(value="department")
public class Department implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 科室表id
     */
    @TableId(value = "department_id", type = IdType.AUTO)
    private Integer departmentId;

    /**
     * 科室名
     */
    @TableField("department_name")
    private String departmentName;

    /**
     * 科室类型
     */
    @TableField("department_kind")
    private String departmentKind;
}
